// 自动生成模板CustomProcessBaseGoodsRel
package model

import (
	"gin-vue-admin/global"
)

// 如果含有time.Time 请自行import time包
type CustomProcessBaseGoodsRel struct {
      global.GVA_MODEL
      BaseId  int `json:"baseId" form:"baseId" gorm:"column:base_id;comment:;type:bigint;size:20;"`
      GoodsId  int `json:"goodsId" form:"goodsId" gorm:"column:goods_id;comment:;type:bigint;size:20;"`
}


func (CustomProcessBaseGoodsRel) TableName() string {
  return "custom_process_base_goods_rel"
}


// 如果使用工作流功能 需要打开下方注释 并到initialize的workflow中进行注册 且必须指定TableName
// type CustomProcessBaseGoodsRelWorkflow struct {
// 	// 工作流操作结构体
// 	WorkflowBase      `json:"wf"`
// 	CustomProcessBaseGoodsRel   `json:"business"`
// }

// func (CustomProcessBaseGoodsRel) TableName() string {
// 	return "custom_process_base_goods_rel"
// }

// 工作流注册代码

// initWorkflowModel内部注册
// model.WorkflowBusinessStruct["customProcessBaseGoodsRel"] = func() model.GVA_Workflow {
//   return new(model.CustomProcessBaseGoodsRelWorkflow)
// }

// initWorkflowTable内部注册
// model.WorkflowBusinessTable["customProcessBaseGoodsRel"] = func() interface{} {
// 	return new(model.CustomProcessBaseGoodsRel)
// }
